﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BonsaiScrum.Core.Domain
{
    public class Developer : IRole
    {
        public Developer() { }
        public Developer(User actor)
        {
            if (actor == null)
                throw new ArgumentNullException("actor");

            Actor = actor;
        }

        public PermissionLevel PermissionLevel
        {
            get { return PermissionLevel.Developer; }
        }

        public User Actor { get; private set; }
    }
}
